﻿using System;
using System.Diagnostics;
using System.Windows.Forms;
using ku.umbruch;

namespace ku.portal {
    public partial class KataUmbruch : Form {
        private readonly Umbruch ku = new Umbruch();

        public KataUmbruch() {
            InitializeComponent();
        }

        private void UmbruchClick(object sender, EventArgs e) {
            textBox1.Text = ku.Trenne(textBox1.Text, (int) this.zeilenLänge.Value);
        }
    }
}
